package com.qf.mapper;

import com.qf.pojo.DataDictionary;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DataDictionaryMapper extends Mapper<DataDictionary> {


    @Select("select value_id, value_name from data_dictionary where type_code = #{typeCode}")
    List<DataDictionary> findByTypeCode(@Param("typeCode") String typeCode);


}
